uint32_t cmdbuf1[] = { /* seq 85 */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x08010e05, /* LOAD_STATE (1) Base: 0x03814 Size: 1 Fixp: 0 */
    0x00000001, /*   [03814] GL.VERTEX_ELEMENT_CONFIG := 0x1 */
    0x08010380, /* LOAD_STATE (1) Base: 0x00E00 Size: 1 Fixp: 0 */
    0x00000001, /*   [00E00] RA.CONTROL := UNK0=1,LAST_VARYING_2X=0 */
    0x0801028b, /* LOAD_STATE (1) Base: 0x00A2C Size: 1 Fixp: 0 */
    0x34000001, /*   [00A2C] PA.W_CLIP_LIMIT := 0x34000001 */
    0x0801028a, /* LOAD_STATE (1) Base: 0x00A28 Size: 1 Fixp: 0 */
    0x00000011, /*   [00A28] PA.SYSTEM_MODE := UNK0=1,UNK4=1 */
    0x08010e13, /* LOAD_STATE (1) Base: 0x0384C Size: 1 Fixp: 0 */
    0x00000000, /*   [0384C] GL.API_MODE := OPENGL */
    0x08010306, /* LOAD_STATE (1) Base: 0x00C18 Size: 1 Fixp: 0 */
    0x00000000, /*   [00C18] SE.CONFIG := LAST_PIXEL_ENABLE=0 */
    0x08010304, /* LOAD_STATE (1) Base: 0x00C10 Size: 1 Fixp: 0 */
    0x00000000, /*   [00C10] SE.DEPTH_SCALE := 0.000000 */
    0x08010305, /* LOAD_STATE (1) Base: 0x00C14 Size: 1 Fixp: 0 */
    0x00000000, /*   [00C14] SE.DEPTH_BIAS := 0.000000 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000002, /*   [0380C] GL.FLUSH_CACHE := DEPTH=0,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x0801ffff, /* LOAD_STATE (1) Base: 0x3FFFC Size: 1 Fixp: 0 */
    0x00000000, /*   [3FFFC] DUMMY.DUMMY := 0x0 */
    0x0801059d, /* LOAD_STATE (1) Base: 0x01674 Size: 1 Fixp: 0 */
    0x00006ac0, /*   [01674] TS.DEPTH_AUTO_DISABLE_COUNT := 0x6ac0 */
    0x08030596, /* LOAD_STATE (1) Base: 0x01658 Size: 3 Fixp: 0 */
    0x15aab000, /*   [01658] TS.COLOR_STATUS_BASE := ADDR_H */
    0x15900000, /*   [0165C] TS.COLOR_SURFACE_BASE := ADDR_G */
    0x00000000, /*   [01660] TS.COLOR_CLEAR_VALUE := 0x0 */
    0x08010595, /* LOAD_STATE (1) Base: 0x01654 Size: 1 Fixp: 0 */
    0x00000022, /*   [01654] TS.MEM_CONFIG := DEPTH_FAST_CLEAR=0,COLOR_FAST_CLEAR=1,DEPTH_16BPP=0,DEPTH_AUTO_DISABLE=0,COLOR_AUTO_DISABLE=1,DEPTH_COMPRESSION=0,MSAA=0,MSAA_FORMAT=A4R4G4B4,HDEPTH=0x0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000001, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=0,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x0801ffff, /* LOAD_STATE (1) Base: 0x3FFFC Size: 1 Fixp: 0 */
    0x00000000, /*   [3FFFC] DUMMY.DUMMY := 0x0 */
    0x08030599, /* LOAD_STATE (1) Base: 0x01664 Size: 3 Fixp: 0 */
    0x15aacb00, /*   [01664] TS.DEPTH_STATUS_BASE := ADDR_J */
    0x15ab5000, /*   [01668] TS.DEPTH_SURFACE_BASE := ADDR_I */
    0xffffffff, /*   [0166C] TS.DEPTH_CLEAR_VALUE := 0xffffffff */
    0x08010595, /* LOAD_STATE (1) Base: 0x01654 Size: 1 Fixp: 0 */
    0x0000006b, /*   [01654] TS.MEM_CONFIG := DEPTH_FAST_CLEAR=1,COLOR_FAST_CLEAR=1,DEPTH_16BPP=1,DEPTH_AUTO_DISABLE=0,COLOR_AUTO_DISABLE=1,DEPTH_COMPRESSION=1,MSAA=0,MSAA_FORMAT=A4R4G4B4,HDEPTH=0x0 */
    0x08010304, /* LOAD_STATE (1) Base: 0x00C10 Size: 1 Fixp: 0 */
    0x00000000, /*   [00C10] SE.DEPTH_SCALE := 0.000000 */
    0x08010305, /* LOAD_STATE (1) Base: 0x00C14 Size: 1 Fixp: 0 */
    0x00000000, /*   [00C14] SE.DEPTH_BIAS := 0.000000 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010594, /* LOAD_STATE (1) Base: 0x01650 Size: 1 Fixp: 0 */
    0x00000001, /*   [01650] RS.FLUSH_CACHE := FLUSH=1 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010594, /* LOAD_STATE (1) Base: 0x01650 Size: 1 Fixp: 0 */
    0x00000001, /*   [01650] RS.FLUSH_CACHE := FLUSH=1 */
    0x08010e02, /* LOAD_STATE (1) Base: 0x03808 Size: 1 Fixp: 0 */
    0x00000705, /*   [03808] GL.SEMAPHORE_TOKEN := FROM=RA,TO=PE */
    0x08010f00, /* LOAD_STATE (1) Base: 0x03C00 Size: 1 Fixp: 0 */
    0x00000705, /*   [03C00] GL.STALL_TOKEN := FROM=RA,TO=PE,FLIP0=0,FLIP1=0 */
    0x08010581, /* LOAD_STATE (1) Base: 0x01604 Size: 1 Fixp: 0 */
    0x00000606, /*   [01604] RS.CONFIG := SOURCE_FORMAT=A8R8G8B8,DOWNSAMPLE_X=0,DOWNSAMPLE_Y=0,SOURCE_TILED=0,DEST_FORMAT=A8R8G8B8,DEST_TILED=0,SWAP_RB=0,FLIP=0 */
    0x0802058c, /* LOAD_STATE (1) Base: 0x01630 Size: 2 Fixp: 0 */
    0xffffffff, /*   [01630] RS.DITHER[0] := 0xffffffff */
    0xffffffff, /*   [01634] RS.DITHER[1] := 0xffffffff */
    0x00000705, /* PAD */
    0x08010584, /* LOAD_STATE (1) Base: 0x01610 Size: 1 Fixp: 0 */
    0x15aab000, /*   [01610] RS.DEST_ADDR := ADDR_H */
    0x08010585, /* LOAD_STATE (1) Base: 0x01614 Size: 1 Fixp: 0 */
    0x00000040, /*   [01614] RS.DEST_STRIDE := STRIDE=0x40,MULTI=0,TILING=0 */
    0x08010590, /* LOAD_STATE (1) Base: 0x01640 Size: 1 Fixp: 0 */
    0x55555555, /*   [01640] RS.FILL_VALUE[0] := 0x55555555 */
    0x0801058f, /* LOAD_STATE (1) Base: 0x0163C Size: 1 Fixp: 0 */
    0x0001ffff, /*   [0163C] RS.CLEAR_CONTROL := BITS=0xffff,MODE=ENABLED1 */
    0x080105a8, /* LOAD_STATE (1) Base: 0x016A0 Size: 1 Fixp: 0 */
    0x00000000, /*   [016A0] RS.EXTRA_CONFIG := AA=0x0,ENDIAN=NO_SWAP */
    0x08010588, /* LOAD_STATE (1) Base: 0x01620 Size: 1 Fixp: 0 */
    0x006c0010, /*   [01620] RS.WINDOW_SIZE := HEIGHT=108,WIDTH=16 */
    0x08010580, /* LOAD_STATE (1) Base: 0x01600 Size: 1 Fixp: 0 */
    0xbadabeeb, /*   [01600] RS.KICKER := 0xbadabeeb */
    0x08010598, /* LOAD_STATE (1) Base: 0x01660 Size: 1 Fixp: 0 */
    0xff7f7f7f, /*   [01660] TS.COLOR_CLEAR_VALUE := 0xff7f7f7f */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000002, /*   [0380C] GL.FLUSH_CACHE := DEPTH=0,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x0801ffff, /* LOAD_STATE (1) Base: 0x3FFFC Size: 1 Fixp: 0 */
    0x00000000, /*   [3FFFC] DUMMY.DUMMY := 0x0 */
    0x0801059d, /* LOAD_STATE (1) Base: 0x01674 Size: 1 Fixp: 0 */
    0x00006ac0, /*   [01674] TS.DEPTH_AUTO_DISABLE_COUNT := 0x6ac0 */
    0x08030596, /* LOAD_STATE (1) Base: 0x01658 Size: 3 Fixp: 0 */
    0x15aab000, /*   [01658] TS.COLOR_STATUS_BASE := ADDR_H */
    0x15900000, /*   [0165C] TS.COLOR_SURFACE_BASE := ADDR_G */
    0xff7f7f7f, /*   [01660] TS.COLOR_CLEAR_VALUE := 0xff7f7f7f */
    0x08010595, /* LOAD_STATE (1) Base: 0x01654 Size: 1 Fixp: 0 */
    0x0000006b, /*   [01654] TS.MEM_CONFIG := DEPTH_FAST_CLEAR=1,COLOR_FAST_CLEAR=1,DEPTH_16BPP=1,DEPTH_AUTO_DISABLE=0,COLOR_AUTO_DISABLE=1,DEPTH_COMPRESSION=1,MSAA=0,MSAA_FORMAT=A4R4G4B4,HDEPTH=0x0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010594, /* LOAD_STATE (1) Base: 0x01650 Size: 1 Fixp: 0 */
    0x00000001, /*   [01650] RS.FLUSH_CACHE := FLUSH=1 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010594, /* LOAD_STATE (1) Base: 0x01650 Size: 1 Fixp: 0 */
    0x00000001, /*   [01650] RS.FLUSH_CACHE := FLUSH=1 */
    0x08010e02, /* LOAD_STATE (1) Base: 0x03808 Size: 1 Fixp: 0 */
    0x00000705, /*   [03808] GL.SEMAPHORE_TOKEN := FROM=RA,TO=PE */
    0x08010f00, /* LOAD_STATE (1) Base: 0x03C00 Size: 1 Fixp: 0 */
    0x00000705, /*   [03C00] GL.STALL_TOKEN := FROM=RA,TO=PE,FLIP0=0,FLIP1=0 */
    0x08010581, /* LOAD_STATE (1) Base: 0x01604 Size: 1 Fixp: 0 */
    0x00000606, /*   [01604] RS.CONFIG := SOURCE_FORMAT=A8R8G8B8,DOWNSAMPLE_X=0,DOWNSAMPLE_Y=0,SOURCE_TILED=0,DEST_FORMAT=A8R8G8B8,DEST_TILED=0,SWAP_RB=0,FLIP=0 */
    0x0802058c, /* LOAD_STATE (1) Base: 0x01630 Size: 2 Fixp: 0 */
    0xffffffff, /*   [01630] RS.DITHER[0] := 0xffffffff */
    0xffffffff, /*   [01634] RS.DITHER[1] := 0xffffffff */
    0xffffffff, /* PAD */
    0x08010584, /* LOAD_STATE (1) Base: 0x01610 Size: 1 Fixp: 0 */
    0x15aacb00, /*   [01610] RS.DEST_ADDR := ADDR_J */
    0x08010585, /* LOAD_STATE (1) Base: 0x01614 Size: 1 Fixp: 0 */
    0x00000080, /*   [01614] RS.DEST_STRIDE := STRIDE=0x80,MULTI=0,TILING=0 */
    0x08010590, /* LOAD_STATE (1) Base: 0x01640 Size: 1 Fixp: 0 */
    0x55555555, /*   [01640] RS.FILL_VALUE[0] := 0x55555555 */
    0x0801058f, /* LOAD_STATE (1) Base: 0x0163C Size: 1 Fixp: 0 */
    0x0001ffff, /*   [0163C] RS.CLEAR_CONTROL := BITS=0xffff,MODE=ENABLED1 */
    0x080105a8, /* LOAD_STATE (1) Base: 0x016A0 Size: 1 Fixp: 0 */
    0x00000000, /*   [016A0] RS.EXTRA_CONFIG := AA=0x0,ENDIAN=NO_SWAP */
    0x08010588, /* LOAD_STATE (1) Base: 0x01620 Size: 1 Fixp: 0 */
    0x001c0020, /*   [01620] RS.WINDOW_SIZE := HEIGHT=28,WIDTH=32 */
    0x08010580, /* LOAD_STATE (1) Base: 0x01600 Size: 1 Fixp: 0 */
    0xbadabeeb, /*   [01600] RS.KICKER := 0xbadabeeb */
    0x0801059b, /* LOAD_STATE (1) Base: 0x0166C Size: 1 Fixp: 0 */
    0xffffffff, /*   [0166C] TS.DEPTH_CLEAR_VALUE := 0xffffffff */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000001, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=0,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x0801ffff, /* LOAD_STATE (1) Base: 0x3FFFC Size: 1 Fixp: 0 */
    0x00000000, /*   [3FFFC] DUMMY.DUMMY := 0x0 */
    0x08030599, /* LOAD_STATE (1) Base: 0x01664 Size: 3 Fixp: 0 */
    0x15aacb00, /*   [01664] TS.DEPTH_STATUS_BASE := ADDR_J */
    0x15ab5000, /*   [01668] TS.DEPTH_SURFACE_BASE := ADDR_I */
    0xffffffff, /*   [0166C] TS.DEPTH_CLEAR_VALUE := 0xffffffff */
    0x08010595, /* LOAD_STATE (1) Base: 0x01654 Size: 1 Fixp: 0 */
    0x0000006b, /*   [01654] TS.MEM_CONFIG := DEPTH_FAST_CLEAR=1,COLOR_FAST_CLEAR=1,DEPTH_16BPP=1,DEPTH_AUTO_DISABLE=0,COLOR_AUTO_DISABLE=1,DEPTH_COMPRESSION=1,MSAA=0,MSAA_FORMAT=A4R4G4B4,HDEPTH=0x0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010594, /* LOAD_STATE (1) Base: 0x01650 Size: 1 Fixp: 0 */
    0x00000001, /*   [01650] RS.FLUSH_CACHE := FLUSH=1 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010595, /* LOAD_STATE (1) Base: 0x01654 Size: 1 Fixp: 0 */
    0x00000000, /*   [01654] TS.MEM_CONFIG := DEPTH_FAST_CLEAR=0,COLOR_FAST_CLEAR=0,DEPTH_16BPP=0,DEPTH_AUTO_DISABLE=0,COLOR_AUTO_DISABLE=0,DEPTH_COMPRESSION=0,MSAA=0,MSAA_FORMAT=A4R4G4B4,HDEPTH=0x0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010581, /* LOAD_STATE (1) Base: 0x01604 Size: 1 Fixp: 0 */
    0x000045e5, /*   [01604] RS.CONFIG := SOURCE_FORMAT=X8R8G8B8,DOWNSAMPLE_X=1,DOWNSAMPLE_Y=1,SOURCE_TILED=1,DEST_FORMAT=X8R8G8B8,DEST_TILED=1,SWAP_RB=0,FLIP=0 */
    0x08010583, /* LOAD_STATE (1) Base: 0x0160C Size: 1 Fixp: 0 */
    0x00002000, /*   [0160C] RS.SOURCE_STRIDE := STRIDE=0x2000,MULTI=0,TILING=0 */
    0x08010585, /* LOAD_STATE (1) Base: 0x01614 Size: 1 Fixp: 0 */
    0x00001000, /*   [01614] RS.DEST_STRIDE := STRIDE=0x1000,MULTI=0,TILING=0 */
    0x0802058c, /* LOAD_STATE (1) Base: 0x01630 Size: 2 Fixp: 0 */
    0xffffffff, /*   [01630] RS.DITHER[0] := 0xffffffff */
    0xffffffff, /*   [01634] RS.DITHER[1] := 0xffffffff */
    0x00000000, /* PAD */
    0x0801058f, /* LOAD_STATE (1) Base: 0x0163C Size: 1 Fixp: 0 */
    0x00000000, /*   [0163C] RS.CLEAR_CONTROL := BITS=0x0,MODE=DISABLED */
    0x080105a8, /* LOAD_STATE (1) Base: 0x016A0 Size: 1 Fixp: 0 */
    0x00000000, /*   [016A0] RS.EXTRA_CONFIG := AA=0x0,ENDIAN=NO_SWAP */
    0x08010582, /* LOAD_STATE (1) Base: 0x01608 Size: 1 Fixp: 0 */
    0x15cfd000, /*   [01608] RS.SOURCE_ADDR := ADDR_L */
    0x08010584, /* LOAD_STATE (1) Base: 0x01610 Size: 1 Fixp: 0 */
    0x15dfd000, /*   [01610] RS.DEST_ADDR := ADDR_M */
    0x08010588, /* LOAD_STATE (1) Base: 0x01620 Size: 1 Fixp: 0 */
    0x02000200, /*   [01620] RS.WINDOW_SIZE := HEIGHT=512,WIDTH=512 */
    0x08010580, /* LOAD_STATE (1) Base: 0x01600 Size: 1 Fixp: 0 */
    0xbadabeeb  /*   [01600] RS.KICKER := 0xbadabeeb */
};
#if 0
    Grouped GPU addresses {
        cmdbuf[0x57] = cmdbuf[0x67] = cmdbuf[0x9f] = cmdbuf[0xbb] = cmdbuf[0xd9] = cmdbuf[0xfb] = cmdbuf[0x119] = cmdbuf[0x135] = cmdbuf[0x153] = ADDR_A; /* 0x7f2c8700 */
        cmdbuf[0x65] = cmdbuf[0x9d] = cmdbuf[0xb9] = cmdbuf[0xd7] = cmdbuf[0xe5] = cmdbuf[0xf9] = cmdbuf[0x117] = cmdbuf[0x133] = cmdbuf[0x151] = ADDR_B; /* 0x7a005900 */
        cmdbuf[0x89] = cmdbuf[0x8f] = cmdbuf[0x93] = cmdbuf[0xa5] = cmdbuf[0xab] = cmdbuf[0xaf] = cmdbuf[0xc3] = cmdbuf[0xc9] = cmdbuf[0xcd] = cmdbuf[0x103] = cmdbuf[0x109] = cmdbuf[0x10d] = cmdbuf[0x11f] = cmdbuf[0x125] = cmdbuf[0x129] = cmdbuf[0x13d] = cmdbuf[0x143] = cmdbuf[0x147] = ADDR_F; /* 0x7f284000 */
        cmdbuf[0x7d] = cmdbuf[0x15f] = cmdbuf[0x173] = ADDR_D; /* 0x7a003200 */
        cmdbuf[0x87] = cmdbuf[0xa3] = cmdbuf[0xc1] = cmdbuf[0x101] = cmdbuf[0x11d] = cmdbuf[0x13b] = ADDR_G; /* 0x7a002a00 */
        cmdbuf[0x6d] = cmdbuf[0x7f] = cmdbuf[0x175] = ADDR_C; /* 0x7e6a0000 */
    }
#endif

uint32_t cmdbuf2[] = { /* seq 101 */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010595, /* LOAD_STATE (1) Base: 0x01654 Size: 1 Fixp: 0 */
    0x0000006b, /*   [01654] TS.MEM_CONFIG := DEPTH_FAST_CLEAR=1,COLOR_FAST_CLEAR=1,DEPTH_16BPP=1,DEPTH_AUTO_DISABLE=0,COLOR_AUTO_DISABLE=1,DEPTH_COMPRESSION=1,MSAA=0,MSAA_FORMAT=A4R4G4B4,HDEPTH=0x0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010594, /* LOAD_STATE (1) Base: 0x01650 Size: 1 Fixp: 0 */
    0x00000001, /*   [01650] RS.FLUSH_CACHE := FLUSH=1 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010595, /* LOAD_STATE (1) Base: 0x01654 Size: 1 Fixp: 0 */
    0x00000000, /*   [01654] TS.MEM_CONFIG := DEPTH_FAST_CLEAR=0,COLOR_FAST_CLEAR=0,DEPTH_16BPP=0,DEPTH_AUTO_DISABLE=0,COLOR_AUTO_DISABLE=0,DEPTH_COMPRESSION=0,MSAA=0,MSAA_FORMAT=A4R4G4B4,HDEPTH=0x0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010581, /* LOAD_STATE (1) Base: 0x01604 Size: 1 Fixp: 0 */
    0x000045e5, /*   [01604] RS.CONFIG := SOURCE_FORMAT=X8R8G8B8,DOWNSAMPLE_X=1,DOWNSAMPLE_Y=1,SOURCE_TILED=1,DEST_FORMAT=X8R8G8B8,DEST_TILED=1,SWAP_RB=0,FLIP=0 */
    0x08010583, /* LOAD_STATE (1) Base: 0x0160C Size: 1 Fixp: 0 */
    0x00001000, /*   [0160C] RS.SOURCE_STRIDE := STRIDE=0x1000,MULTI=0,TILING=0 */
    0x08010585, /* LOAD_STATE (1) Base: 0x01614 Size: 1 Fixp: 0 */
    0x00000800, /*   [01614] RS.DEST_STRIDE := STRIDE=0x800,MULTI=0,TILING=0 */
    0x0802058c, /* LOAD_STATE (1) Base: 0x01630 Size: 2 Fixp: 0 */
    0xffffffff, /*   [01630] RS.DITHER[0] := 0xffffffff */
    0xffffffff, /*   [01634] RS.DITHER[1] := 0xffffffff */
    0x00000000, /* PAD */
    0x0801058f, /* LOAD_STATE (1) Base: 0x0163C Size: 1 Fixp: 0 */
    0x00000000, /*   [0163C] RS.CLEAR_CONTROL := BITS=0x0,MODE=DISABLED */
    0x080105a8, /* LOAD_STATE (1) Base: 0x016A0 Size: 1 Fixp: 0 */
    0x00000000, /*   [016A0] RS.EXTRA_CONFIG := AA=0x0,ENDIAN=NO_SWAP */
    0x08010582, /* LOAD_STATE (1) Base: 0x01608 Size: 1 Fixp: 0 */
    0x15dfd000, /*   [01608] RS.SOURCE_ADDR := ADDR_M */
    0x08010584, /* LOAD_STATE (1) Base: 0x01610 Size: 1 Fixp: 0 */
    0x15e3d000, /*   [01610] RS.DEST_ADDR := ADDR_N */
    0x08010588, /* LOAD_STATE (1) Base: 0x01620 Size: 1 Fixp: 0 */
    0x01000100, /*   [01620] RS.WINDOW_SIZE := HEIGHT=256,WIDTH=256 */
    0x08010580, /* LOAD_STATE (1) Base: 0x01600 Size: 1 Fixp: 0 */
    0xbadabeeb  /*   [01600] RS.KICKER := 0xbadabeeb */
};
#if 0
Grouped GPU addresses {
    33 - stride src
    35 - stride dst
    39 - pad but allways different - garbage?
    45 - source addr
    47 - dest addr
    49 - height width
}
#endif

uint32_t cmdbuf3[] = {
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010595, /* LOAD_STATE (1) Base: 0x01654 Size: 1 Fixp: 0 */
    0x0000006b  /*   [01654] TS.MEM_CONFIG := DEPTH_FAST_CLEAR=1,COLOR_FAST_CLEAR=1,DEPTH_16BPP=1,DEPTH_AUTO_DISABLE=0,COLOR_AUTO_DISABLE=1,DEPTH_COMPRESSION=1,MSAA=0,MSAA_FORMAT=A4R4G4B4,HDEPTH=0x0 */
};

uint32_t cmdbuf4[] = { /* seq 103 */
    0x08010584, /* PAD */
    0x1523a000, /* PAD */
    0x08010588, /* PAD */
    0x00f00190, /* PAD */
    0x08010580, /* PAD */
    0xbeebbeeb, /* PAD */
    0x40000006, /* PAD */
    0x14880010, /* PAD */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08101400, /* LOAD_STATE (1) Base: 0x05000 Size: 16 Fixp: 0 */
    0x3f3573de, /*   [05000] VS.UNIFORMS[0] := 0.708799 (u0.x) */
    0x3f2084dd, /*   [05004] VS.UNIFORMS[1] := 0.627027 (u0.y) */
    0xbf7e5849, /*   [05008] VS.UNIFORMS[2] := -0.993535 (u0.z) */
    0xbe959d58, /*   [0500C] VS.UNIFORMS[3] := -0.292216 (u0.w) */
    0x3dfff5c0, /*   [05010] VS.UNIFORMS[4] := 0.124980 (u1.x) */
    0x3faa1052, /*   [05014] VS.UNIFORMS[5] := 1.328623 (u1.y) */
    0x3f7c0220, /*   [05018] VS.UNIFORMS[6] := 0.984407 (u1.z) */
    0x3e943d7c, /*   [0501C] VS.UNIFORMS[7] := 0.289532 (u1.w) */
    0xbf384078, /*   [05020] VS.UNIFORMS[8] := -0.719734 (u2.x) */
    0x3f592492, /*   [05024] VS.UNIFORMS[9] := 0.848214 (u2.y) */
    0xbf4eb851, /*   [05028] VS.UNIFORMS[10] := -0.807500 (u2.z) */
    0xbe733332, /*   [0502C] VS.UNIFORMS[11] := -0.237500 (u2.w) */
    0x00000000, /*   [05030] VS.UNIFORMS[12] := 0.000000 (u3.x) */
    0x00000000, /*   [05034] VS.UNIFORMS[13] := 0.000000 (u3.y) */
    0x3f4ccce0, /*   [05038] VS.UNIFORMS[14] := 0.800001 (u3.z) */
    0x41000000, /*   [0503C] VS.UNIFORMS[15] := 8.000000 (u3.w) */
    0x00000000, /* PAD */
    0x08031410, /* LOAD_STATE (1) Base: 0x05040 Size: 3 Fixp: 0 */
    0x3ea95b14, /*   [05040] VS.UNIFORMS[16] := 0.330773 (u4.x) */
    0x3e33c802, /*   [05044] VS.UNIFORMS[17] := 0.175568 (u4.y) */
    0x3e959d58, /*   [05048] VS.UNIFORMS[18] := 0.292216 (u4.z) */
    0x08031414, /* LOAD_STATE (1) Base: 0x05050 Size: 3 Fixp: 0 */
    0x3d6ee55e, /*   [05050] VS.UNIFORMS[20] := 0.058324 (u5.x) */
    0x3ebe78ae, /*   [05054] VS.UNIFORMS[21] := 0.372014 (u5.y) */
    0xbe943d7c, /*   [05058] VS.UNIFORMS[22] := -0.289532 (u5.z) */
    0x08031418, /* LOAD_STATE (1) Base: 0x05060 Size: 3 Fixp: 0 */
    0xbeabf7e8, /*   [05060] VS.UNIFORMS[24] := -0.335876 (u6.x) */
    0x3e733333, /*   [05064] VS.UNIFORMS[25] := 0.237500 (u6.y) */
    0x3e733332, /*   [05068] VS.UNIFORMS[26] := 0.237500 (u6.z) */
    0x0810141c, /* LOAD_STATE (1) Base: 0x05070 Size: 16 Fixp: 0 */
    0x3ea95b14, /*   [05070] VS.UNIFORMS[28] := 0.330773 (u7.x) */
    0x3e33c802, /*   [05074] VS.UNIFORMS[29] := 0.175568 (u7.y) */
    0x3e959d58, /*   [05078] VS.UNIFORMS[30] := 0.292216 (u7.z) */
    0x00000000, /*   [0507C] VS.UNIFORMS[31] := 0.000000 (u7.w) */
    0x3d6ee55e, /*   [05080] VS.UNIFORMS[32] := 0.058324 (u8.x) */
    0x3ebe78ae, /*   [05084] VS.UNIFORMS[33] := 0.372014 (u8.y) */
    0xbe943d7c, /*   [05088] VS.UNIFORMS[34] := -0.289532 (u8.z) */
    0x00000000, /*   [0508C] VS.UNIFORMS[35] := 0.000000 (u8.w) */
    0xbeabf7e8, /*   [05090] VS.UNIFORMS[36] := -0.335876 (u9.x) */
    0x3e733333, /*   [05094] VS.UNIFORMS[37] := 0.237500 (u9.y) */
    0x3e733332, /*   [05098] VS.UNIFORMS[38] := 0.237500 (u9.z) */
    0x00000000, /*   [0509C] VS.UNIFORMS[39] := 0.000000 (u9.w) */
    0x00000000, /*   [050A0] VS.UNIFORMS[40] := 0.000000 (u10.x) */
    0x00000000, /*   [050A4] VS.UNIFORMS[41] := 0.000000 (u10.y) */
    0xc1000000, /*   [050A8] VS.UNIFORMS[42] := -8.000000 (u10.z) */
    0x3f800000, /*   [050AC] VS.UNIFORMS[43] := 1.000000 (u10.w) */
    0x00000000, /* PAD */
    0x08030180, /* LOAD_STATE (1) Base: 0x00600 Size: 3 Fixp: 0 */
    0x0c003088, /*   [00600] FE.VERTEX_ELEMENT_CONFIG[0] := TYPE=FLOAT,ENDIAN=NO_SWAP,NONCONSECUTIVE=1,STREAM=0x0,NUM=0x3,NORMALIZE=OFF,START=0x0,END=0xc */
    0x0c003188, /*   [00604] FE.VERTEX_ELEMENT_CONFIG[1] := TYPE=FLOAT,ENDIAN=NO_SWAP,NONCONSECUTIVE=1,STREAM=0x1,NUM=0x3,NORMALIZE=OFF,START=0x0,END=0xc */
    0x08002288, /*   [00608] FE.VERTEX_ELEMENT_CONFIG[2] := TYPE=FLOAT,ENDIAN=NO_SWAP,NONCONSECUTIVE=1,STREAM=0x2,NUM=0x2,NORMALIZE=OFF,START=0x0,END=0x8 */
    0x08010208, /* LOAD_STATE (1) Base: 0x00820 Size: 1 Fixp: 0 */
    0x00020100, /*   [00820] VS.INPUT[0] := I0=0,I1=1,I2=2,I3=0 */
    0x080301a0, /* LOAD_STATE (1) Base: 0x00680 Size: 3 Fixp: 0 */
    0x15000000, /*   [00680] FE.VERTEX_STREAMS[0].BASE_ADDR := ADDR_A */
    0x150239d0, /*   [00684] FE.VERTEX_STREAMS[1].BASE_ADDR := ADDR_V */
    0x150473a0, /*   [00688] FE.VERTEX_STREAMS[2].BASE_ADDR := ADDR_W */
    0x080301a8, /* LOAD_STATE (1) Base: 0x006A0 Size: 3 Fixp: 0 */
    0x0000000c, /*   [006A0] FE.VERTEX_STREAMS[0].CONTROL := 0xc */
    0x0000000c, /*   [006A4] FE.VERTEX_STREAMS[1].CONTROL := 0xc */
    0x00000008, /*   [006A8] FE.VERTEX_STREAMS[2].CONTROL := 0x8 */
    0x0801028b, /* LOAD_STATE (1) Base: 0x00A2C Size: 1 Fixp: 0 */
    0x00000000, /*   [00A2C] PA.W_CLIP_LIMIT := 0x0 */
    0x08010800, /* LOAD_STATE (1) Base: 0x02000 Size: 1 Fixp: 0 */
    0x00091552, /*   [02000] TE.SAMPLER[0].CONFIG0 := TYPE=2D,UWRAP=CLAMP_TO_EDGE,VWRAP=CLAMP_TO_EDGE,MIN=LINEAR,MIP=LINEAR,MAG=LINEAR,FORMAT=X8R8G8B8,ROUND_UV=1,ENDIAN=NO_SWAP,ANISOTROPY=0.000000 */
    0x08010870, /* LOAD_STATE (1) Base: 0x021C0 Size: 1 Fixp: 0 */
    0x04521000, /*   [021C0] TE.SAMPLER[0].CONFIG1 := FORMAT_EXT=NONE,SWIZZLE_R=RED,SWIZZLE_G=GREEN,SWIZZLE_B=BLUE,SWIZZLE_A=ONE(residue:0x04000000) */
    0x08010810, /* LOAD_STATE (1) Base: 0x02040 Size: 1 Fixp: 0 */
    0x02000200, /*   [02040] TE.SAMPLER[0].SIZE := WIDTH=512,HEIGHT=512 */
    0x08010820, /* LOAD_STATE (1) Base: 0x02080 Size: 1 Fixp: 0 */
    0x00048120, /*   [02080] TE.SAMPLER[0].LOG_SIZE := WIDTH=9.000000,HEIGHT=9.000000 */
    0x08010830, /* LOAD_STATE (1) Base: 0x020C0 Size: 1 Fixp: 0 */
    0x00000240, /*   [020C0] TE.SAMPLER[0].LOD_CONFIG := BIAS_ENABLE=0,MAX=9.000000,MIN=0.000000,BIAS=0.000000 */
    0x08010900, /* LOAD_STATE (1) Base: 0x02400 Size: 1 Fixp: 0 */
    0x15cfd000, /*   [02400] TE.SAMPLER[0].LOD_ADDR[0] := ADDR_L */
    0x08010910, /* LOAD_STATE (1) Base: 0x02440 Size: 1 Fixp: 0 */
    0x15dfd000, /*   [02440] TE.SAMPLER[0].LOD_ADDR[1] := ADDR_M */
    0x08010920, /* LOAD_STATE (1) Base: 0x02480 Size: 1 Fixp: 0 */
    0x15e3d000, /*   [02480] TE.SAMPLER[0].LOD_ADDR[2] := ADDR_N */
    0x08010930, /* LOAD_STATE (1) Base: 0x024C0 Size: 1 Fixp: 0 */
    0x15aad900, /*   [024C0] TE.SAMPLER[0].LOD_ADDR[3] := ADDR_O */
    0x08010940, /* LOAD_STATE (1) Base: 0x02500 Size: 1 Fixp: 0 */
    0x15ab1900, /*   [02500] TE.SAMPLER[0].LOD_ADDR[4] := ADDR_P */
    0x08010950, /* LOAD_STATE (1) Base: 0x02540 Size: 1 Fixp: 0 */
    0x15ab2900, /*   [02540] TE.SAMPLER[0].LOD_ADDR[5] := ADDR_Q */
    0x08010960, /* LOAD_STATE (1) Base: 0x02580 Size: 1 Fixp: 0 */
    0x15ab2d00, /*   [02580] TE.SAMPLER[0].LOD_ADDR[6] := ADDR_R */
    0x08010970, /* LOAD_STATE (1) Base: 0x025C0 Size: 1 Fixp: 0 */
    0x15ab2f00, /*   [025C0] TE.SAMPLER[0].LOD_ADDR[7] := ADDR_S */
    0x08010980, /* LOAD_STATE (1) Base: 0x02600 Size: 1 Fixp: 0 */
    0x15ab3000, /*   [02600] TE.SAMPLER[0].LOD_ADDR[8] := ADDR_T */
    0x08010990, /* LOAD_STATE (1) Base: 0x02640 Size: 1 Fixp: 0 */
    0x15ab3100, /*   [02640] TE.SAMPLER[0].LOD_ADDR[9] := ADDR_U */
    0x080105c8, /* LOAD_STATE (1) Base: 0x01720 Size: 1 Fixp: 0 */
    0x00000000, /*   [01720] TS.SAMPLER[0].CONFIG := ENABLE=0x0,FORMAT=0x0 */
    0x080105d0, /* LOAD_STATE (1) Base: 0x01740 Size: 1 Fixp: 0 */
    0x00c0ffee, /*   [01740] TS.SAMPLER[0].STATUS_BASE := ADDR_X */
    0x080105d8, /* LOAD_STATE (1) Base: 0x01760 Size: 1 Fixp: 0 */
    0x00000000, /*   [01760] TS.SAMPLER[0].CLEAR_VALUE := 0x0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000007, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=1,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e02, /* LOAD_STATE (1) Base: 0x03808 Size: 1 Fixp: 0 */
    0x00000701, /*   [03808] GL.SEMAPHORE_TOKEN := FROM=FE,TO=PE */
    0x48000000, /* STALL (9) */
    0x00000701, /*  */
    0x0c020280, /* LOAD_STATE (1) Base: 0x00A00 Size: 2 Fixp: 1 */
    0x01900000, /*   [00A00] PA.VIEWPORT_SCALE_X = 400.000000 */
    0x00f00000, /*   [00A04] PA.VIEWPORT_SCALE_Y = 240.000000 */
    0x00000000, /* PAD */
    0x0c020283, /* LOAD_STATE (1) Base: 0x00A0C Size: 2 Fixp: 1 */
    0x01900000, /*   [00A0C] PA.VIEWPORT_OFFSET_X = 400.000000 */
    0x00f00000, /*   [00A10] PA.VIEWPORT_OFFSET_Y = 240.000000 */
    0x00000000, /* PAD */
    0x080102a0, /* LOAD_STATE (1) Base: 0x00A80 Size: 1 Fixp: 0 */
    0x38481905, /*   [00A80] PA.VIEWPORT_UNK00A80 := 0.000048 */
    0x0c0102a1, /* LOAD_STATE (1) Base: 0x00A84 Size: 1 Fixp: 1 */
    0x20000000, /*   [00A84] PA.VIEWPORT_UNK00A84 = 8192.000000 */
    0x080102a3, /* LOAD_STATE (1) Base: 0x00A8C Size: 1 Fixp: 0 */
    0x38000000, /*   [00A8C] PA.VIEWPORT_UNK00A8C := 0.000031 */
    0x0c040300, /* LOAD_STATE (1) Base: 0x00C00 Size: 4 Fixp: 1 */
    0x00000000, /*   [00C00] SE.SCISSOR_LEFT = 0.000000 */
    0x00000000, /*   [00C04] SE.SCISSOR_TOP = 0.000000 */
    0x03201000, /*   [00C08] SE.SCISSOR_RIGHT = 800.062500 */
    0x01e01000, /*   [00C0C] SE.SCISSOR_BOTTOM = 480.062500 */
    0x00000000, /* PAD */
    0x0c010308, /* LOAD_STATE (1) Base: 0x00C20 Size: 1 Fixp: 1 */
    0x0320ffff, /*   [00C20] SE.CLIP_RIGHT = 800.999985 */
    0x0c010309, /* LOAD_STATE (1) Base: 0x00C24 Size: 1 Fixp: 1 */
    0x01e0ffff, /*   [00C24] SE.CLIP_BOTTOM = 480.999985 */
    0x08030508, /* LOAD_STATE (1) Base: 0x01420 Size: 3 Fixp: 0 */
    0x00000000, /*   [01420] PE.ALPHA_OP := ALPHA_TEST=0,ALPHA_FUNC=NEVER(residue:0xfffeff0c) */
    0x00000000, /*   [01424] PE.ALPHA_BLEND_COLOR := B=0x0,G=0x0,R=0x0,A=0x0 */
    0x00100010, /*   [01428] PE.ALPHA_CONFIG := BLEND_ENABLE_COLOR=0,SRC_FUNC_COLOR=ONE,DST_FUNC_COLOR=ZERO,EQ_COLOR=ADD,BLEND_SEPARATE_ALPHA=0,SRC_FUNC_ALPHA=ONE,DST_FUNC_ALPHA=ZERO,EQ_ALPHA=ADD */
    0x08010528, /* LOAD_STATE (1) Base: 0x014A0 Size: 1 Fixp: 0 */
    0x0000fdff, /*   [014A0] PE.STENCIL_CONFIG_EXT := UNK16=0x0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000002, /*   [0380C] GL.FLUSH_CACHE := DEPTH=0,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x0801050b, /* LOAD_STATE (1) Base: 0x0142C Size: 1 Fixp: 0 */
    0x00110f06, /*   [0142C] PE.COLOR_FORMAT := FORMAT=A8R8G8B8,COMPONENTS=R=1,G=1,B=1,A=1,OVERWRITE=1,SUPER_TILED=1(residue:0xffcce0e0) */
    0x08010518, /* LOAD_STATE (1) Base: 0x01460 Size: 1 Fixp: 0 */
    0x15900000, /*   [01460] PE.PIPE[0].COLOR_ADDR := ADDR_G */
    0x0801050c, /* LOAD_STATE (1) Base: 0x01430 Size: 1 Fixp: 0 */
    0x15900000, /*   [01430] PE.COLOR_ADDR := ADDR_G */
    0x0801050d, /* LOAD_STATE (1) Base: 0x01434 Size: 1 Fixp: 0 */
    0x00000d00, /*   [01434] PE.COLOR_STRIDE := 0xd00 */
    0x08040500, /* LOAD_STATE (1) Base: 0x01400 Size: 4 Fixp: 0 */
    0x04011101, /*   [01400] PE.DEPTH_CONFIG := DEPTH_MODE=Z,DEPTH_FORMAT=D16,DEPTH_FUNC=LESS,WRITE_ENABLE=1,EARLY_Z=1,ONLY_DEPTH=0,SUPER_TILED=1(residue:0xf3ccc0c4) */
    0x00000000, /*   [01404] PE.DEPTH_NEAR := 0.000000 */
    0x3f800000, /*   [01408] PE.DEPTH_FAR := 1.000000 */
    0x477fff00, /*   [0140C] PE.DEPTH_NORMALIZE := 65535.000000 */
    0x00000000, /* PAD */
    0x08010520, /* LOAD_STATE (1) Base: 0x01480 Size: 1 Fixp: 0 */
    0x15ab5000, /*   [01480] PE.PIPE[0].DEPTH_ADDR := ADDR_I */
    0x08010504, /* LOAD_STATE (1) Base: 0x01410 Size: 1 Fixp: 0 */
    0x15ab5000, /*   [01410] PE.DEPTH_ADDR := ADDR_I */
    0x08010505, /* LOAD_STATE (1) Base: 0x01414 Size: 1 Fixp: 0 */
    0x00000680, /*   [01414] PE.DEPTH_STRIDE := 0x680 */
    0x08010515, /* LOAD_STATE (1) Base: 0x01454 Size: 1 Fixp: 0 */
    0x00000000, /*   [01454] PE.HDEPTH_CONTROL := FORMAT=DISABLED */
    0x08010282, /* LOAD_STATE (1) Base: 0x00A08 Size: 1 Fixp: 0 */
    0x3f800000, /*   [00A08] PA.VIEWPORT_SCALE_Z := 1.000000 */
    0x08010285, /* LOAD_STATE (1) Base: 0x00A14 Size: 1 Fixp: 0 */
    0x00000000, /*   [00A14] PA.VIEWPORT_OFFSET_Z := 0.000000 */
    0x08010507, /* LOAD_STATE (1) Base: 0x0141C Size: 1 Fixp: 0 */
    0x00000000, /*   [0141C] PE.STENCIL_CONFIG := MODE=DISABLED,REF_FRONT=0x0,MASK_FRONT=0x0,WRITE_MASK=0x0(residue:0x0000000c) */
    0x08010e06, /* LOAD_STATE (1) Base: 0x03818 Size: 1 Fixp: 0 */
    0x00000000, /*   [03818] GL.MULTI_SAMPLE_CONFIG := MSAA_SAMPLES=NONE,MSAA_ENABLES=0x0,UNK12=0x0,UNK16=0x0(residue:0xfff40e04) */
    0x08010286, /* LOAD_STATE (1) Base: 0x00A18 Size: 1 Fixp: 0 */
    0x3f000000, /*   [00A18] PA.LINE_WIDTH := 0.500000 */
    0x0803028d, /* LOAD_STATE (1) Base: 0x00A34 Size: 3 Fixp: 0 */
    0x00412200, /*   [00A34] PA.CONFIG := POINT_SIZE_ENABLE=0,POINT_SPRITE_ENABLE=0,CULL_FACE_MODE=CCW,FILL_MODE=SOLID,SHADE_MODEL=SMOOTH,UNK22=1(residue:0xff3888c3) */
    0x3f000000, /*   [00A38] PA.LINE_UNK00A38 := 0.500000 */
    0x3f000000, /*   [00A3C] PA.LINE_UNK00A3C := 0.500000 */
    0x08010e02, /* LOAD_STATE (1) Base: 0x03808 Size: 1 Fixp: 0 */
    0x00000701, /*   [03808] GL.SEMAPHORE_TOKEN := FROM=FE,TO=PE */
    0x48000000, /* STALL (9) */
    0x00000701, /*  */
    0x08030202, /* LOAD_STATE (1) Base: 0x00808 Size: 3 Fixp: 0 */
    0x00000103, /*   [00808] VS.INPUT_COUNT := COUNT=3,UNK8=1 */
    0x00000006, /*   [0080C] VS.TEMP_REGISTER_CONTROL := NUM_TEMPS=6 */
    0x00010004, /*   [00810] VS.OUTPUT[0] := O0=4,O1=0,O2=1,O3=0 */
    0x08010217, /* LOAD_STATE (1) Base: 0x0085C Size: 1 Fixp: 0 */
    0x00150000, /*   [0085C] VS.RANGE := LOW=0x0,HIGH=0x15 */
    0x0801020e, /* LOAD_STATE (1) Base: 0x00838 Size: 1 Fixp: 0 */
    0x00000000, /*   [00838] VS.START_PC := 0x0 */
    0x08010200, /* LOAD_STATE (1) Base: 0x00800 Size: 1 Fixp: 0 */
    0x00000016, /*   [00800] VS.END_PC := 0x16 */
    0x0801142c, /* LOAD_STATE (1) Base: 0x050B0 Size: 1 Fixp: 0 */
    0x3f800000, /*   [050B0] VS.UNIFORMS[44] := 1.000000 (u11.x) */
    0x0801141b, /* LOAD_STATE (1) Base: 0x0506C Size: 1 Fixp: 0 */
    0x00000000, /*   [0506C] VS.UNIFORMS[27] := 0.000000 (u6.w) */
    0x08011417, /* LOAD_STATE (1) Base: 0x0505C Size: 1 Fixp: 0 */
    0x41a00000, /*   [0505C] VS.UNIFORMS[23] := 20.000000 (u5.w) */
    0x08011413, /* LOAD_STATE (1) Base: 0x0504C Size: 1 Fixp: 0 */
    0x40000000, /*   [0504C] VS.UNIFORMS[19] := 2.000000 (u4.w) */
    0x08583000, /* LOAD_STATE (1) Base: 0x0C000 Size: 88 Fixp: 0 */
    0x01831009, /*   [0C000] SH.UNK0C000[0] := 0x1831009 */
    0x00000000, /*   [0C004] SH.UNK0C000[1] := 0x0 */
    0x00000000, /*   [0C008] SH.UNK0C000[2] := 0x0 */
    0x203fc048, /*   [0C00C] SH.UNK0C000[3] := 0x203fc048 */
    0x02031009, /*   [0C010] SH.UNK0C000[4] := 0x2031009 */
    0x00000000, /*   [0C014] SH.UNK0C000[5] := 0x0 */
    0x00000000, /*   [0C018] SH.UNK0C000[6] := 0x0 */
    0x203fc058, /*   [0C01C] SH.UNK0C000[7] := 0x203fc058 */
    0x07841003, /*   [0C020] SH.UNK0C000[8] := 0x7841003 */
    0x39000800, /*   [0C024] SH.UNK0C000[9] := 0x39000800 */
    0x00000050, /*   [0C028] SH.UNK0C000[10] := 0x50 */
    0x00000000, /*   [0C02C] SH.UNK0C000[11] := 0x0 */
    0x07841002, /*   [0C030] SH.UNK0C000[12] := 0x7841002 */
    0x39001800, /*   [0C034] SH.UNK0C000[13] := 0x39001800 */
    0x00aa0050, /*   [0C038] SH.UNK0C000[14] := 0xaa0050 */
    0x00390048, /*   [0C03C] SH.UNK0C000[15] := 0x390048 */
    0x07841002, /*   [0C040] SH.UNK0C000[16] := 0x7841002 */
    0x39002800, /*   [0C044] SH.UNK0C000[17] := 0x39002800 */
    0x01540050, /*   [0C048] SH.UNK0C000[18] := 0x1540050 */
    0x00390048, /*   [0C04C] SH.UNK0C000[19] := 0x390048 */
    0x07841002, /*   [0C050] SH.UNK0C000[20] := 0x7841002 */
    0x39003800, /*   [0C054] SH.UNK0C000[21] := 0x39003800 */
    0x01fe0050, /*   [0C058] SH.UNK0C000[22] := 0x1fe0050 */
    0x00390048, /*   [0C05C] SH.UNK0C000[23] := 0x390048 */
    0x03851003, /*   [0C060] SH.UNK0C000[24] := 0x3851003 */
    0x29004800, /*   [0C064] SH.UNK0C000[25] := 0x29004800 */
    0x000000d0, /*   [0C068] SH.UNK0C000[26] := 0xd0 */
    0x00000000, /*   [0C06C] SH.UNK0C000[27] := 0x0 */
    0x03851002, /*   [0C070] SH.UNK0C000[28] := 0x3851002 */
    0x29005800, /*   [0C074] SH.UNK0C000[29] := 0x29005800 */
    0x00aa00d0, /*   [0C078] SH.UNK0C000[30] := 0xaa00d0 */
    0x00290058, /*   [0C07C] SH.UNK0C000[31] := 0x290058 */
    0x03811002, /*   [0C080] SH.UNK0C000[32] := 0x3811002 */
    0x29006800, /*   [0C084] SH.UNK0C000[33] := 0x29006800 */
    0x015400d0, /*   [0C088] SH.UNK0C000[34] := 0x15400d0 */
    0x00290058, /*   [0C08C] SH.UNK0C000[35] := 0x290058 */
    0x07851003, /*   [0C090] SH.UNK0C000[36] := 0x7851003 */
    0x39007800, /*   [0C094] SH.UNK0C000[37] := 0x39007800 */
    0x00000050, /*   [0C098] SH.UNK0C000[38] := 0x50 */
    0x00000000, /*   [0C09C] SH.UNK0C000[39] := 0x0 */
    0x07851002, /*   [0C0A0] SH.UNK0C000[40] := 0x7851002 */
    0x39008800, /*   [0C0A4] SH.UNK0C000[41] := 0x39008800 */
    0x00aa0050, /*   [0C0A8] SH.UNK0C000[42] := 0xaa0050 */
    0x00390058, /*   [0C0AC] SH.UNK0C000[43] := 0x390058 */
    0x07851002, /*   [0C0B0] SH.UNK0C000[44] := 0x7851002 */
    0x39009800, /*   [0C0B4] SH.UNK0C000[45] := 0x39009800 */
    0x01540050, /*   [0C0B8] SH.UNK0C000[46] := 0x1540050 */
    0x00390058, /*   [0C0BC] SH.UNK0C000[47] := 0x390058 */
    0x07801002, /*   [0C0C0] SH.UNK0C000[48] := 0x7801002 */
    0x3900a800, /*   [0C0C4] SH.UNK0C000[49] := 0x3900a800 */
    0x01fe0050, /*   [0C0C8] SH.UNK0C000[50] := 0x1fe0050 */
    0x00390058, /*   [0C0CC] SH.UNK0C000[51] := 0x390058 */
    0x0401100c, /*   [0C0D0] SH.UNK0C000[52] := 0x401100c */
    0x00000000, /*   [0C0D4] SH.UNK0C000[53] := 0x0 */
    0x00000000, /*   [0C0D8] SH.UNK0C000[54] := 0x0 */
    0x003fc008, /*   [0C0DC] SH.UNK0C000[55] := 0x3fc008 */
    0x03801002, /*   [0C0E0] SH.UNK0C000[56] := 0x3801002 */
    0x69000800, /*   [0C0E4] SH.UNK0C000[57] := 0x69000800 */
    0x01fe00c0, /*   [0C0E8] SH.UNK0C000[58] := 0x1fe00c0 */
    0x00290038, /*   [0C0EC] SH.UNK0C000[59] := 0x290038 */
    0x03831005, /*   [0C0F0] SH.UNK0C000[60] := 0x3831005 */
    0x29000800, /*   [0C0F4] SH.UNK0C000[61] := 0x29000800 */
    0x01480040, /*   [0C0F8] SH.UNK0C000[62] := 0x1480040 */
    0x00000000, /*   [0C0FC] SH.UNK0C000[63] := 0x0 */
    0x0383100d, /*   [0C100] SH.UNK0C000[64] := 0x383100d */
    0x00000000, /*   [0C104] SH.UNK0C000[65] := 0x0 */
    0x00000000, /*   [0C108] SH.UNK0C000[66] := 0x0 */
    0x00000038, /*   [0C10C] SH.UNK0C000[67] := 0x38 */
    0x03801003, /*   [0C110] SH.UNK0C000[68] := 0x3801003 */
    0x29000800, /*   [0C114] SH.UNK0C000[69] := 0x29000800 */
    0x014801c0, /*   [0C118] SH.UNK0C000[70] := 0x14801c0 */
    0x00000000, /*   [0C11C] SH.UNK0C000[71] := 0x0 */
    0x00801005, /*   [0C120] SH.UNK0C000[72] := 0x801005 */
    0x29001800, /*   [0C124] SH.UNK0C000[73] := 0x29001800 */
    0x01480040, /*   [0C128] SH.UNK0C000[74] := 0x1480040 */
    0x00000000, /*   [0C12C] SH.UNK0C000[75] := 0x0 */
    0x0380108f, /*   [0C130] SH.UNK0C000[76] := 0x380108f */
    0x3fc06800, /*   [0C134] SH.UNK0C000[77] := 0x3fc06800 */
    0x00000050, /*   [0C138] SH.UNK0C000[78] := 0x50 */
    0x203fc068, /*   [0C13C] SH.UNK0C000[79] := 0x203fc068 */
    0x04001009, /*   [0C140] SH.UNK0C000[80] := 0x4001009 */
    0x00000000, /*   [0C144] SH.UNK0C000[81] := 0x0 */
    0x00000000, /*   [0C148] SH.UNK0C000[82] := 0x0 */
    0x200000b8, /*   [0C14C] SH.UNK0C000[83] := 0x200000b8 */
    0x01811009, /*   [0C150] SH.UNK0C000[84] := 0x1811009 */
    0x00000000, /*   [0C154] SH.UNK0C000[85] := 0x0 */
    0x00000000, /*   [0C158] SH.UNK0C000[86] := 0x0 */
    0x00150028, /*   [0C15C] SH.UNK0C000[87] := 0x150028 */
    0x00000000, /* PAD */
    0x08010380, /* LOAD_STATE (1) Base: 0x00E00 Size: 1 Fixp: 0 */
    0x00000003, /*   [00E00] RA.CONTROL := UNK0=1,LAST_VARYING_2X=1 */
    0x08010401, /* LOAD_STATE (1) Base: 0x01004 Size: 1 Fixp: 0 */
    0x00000001, /*   [01004] PS.OUTPUT_REG := 0x1 */
    0x08020290, /* LOAD_STATE (1) Base: 0x00A40 Size: 2 Fixp: 0 */
    0x00000200, /*   [00A40] PA.SHADER_ATTRIBUTES[0] := UNK0=0x0,UNK8=0x2 */
    0x00000200, /*   [00A44] PA.SHADER_ATTRIBUTES[1] := UNK0=0x0,UNK8=0x2 */
    0x00000000, /* PAD */
    0x08010e08, /* LOAD_STATE (1) Base: 0x03820 Size: 1 Fixp: 0 */
    0x00000044, /*   [03820] GL.VARYING_NUM_COMPONENTS := VAR0=0x4,VAR1=0x4,VAR2=0x0,VAR3=0x0,VAR4=0x0,VAR5=0x0,VAR6=0x0,VAR7=0x0 */
    0x08010e0d, /* LOAD_STATE (1) Base: 0x03834 Size: 1 Fixp: 0 */
    0x00040000, /*   [03834] GL.UNK03834 := 0x40000 */
    0x08020e0a, /* LOAD_STATE (1) Base: 0x03828 Size: 2 Fixp: 0 */
    0x00005555, /*   [03828] GL.VARYING_COMPONENT_USE[0] := COMP0=USED,COMP1=USED,COMP2=USED,COMP3=USED,COMP4=USED,COMP5=USED,COMP6=USED,COMP7=USED,COMP8=UNUSED,COMP9=UNUSED,COMP10=UNUSED,COMP11=UNUSED,COMP12=UNUSED,COMP13=UNUSED,COMP14=UNUSED,COMP15=UNUSED */
    0x00000000, /*   [0382C] GL.VARYING_COMPONENT_USE[1] := COMP0=UNUSED,COMP1=UNUSED,COMP2=UNUSED,COMP3=UNUSED,COMP4=UNUSED,COMP5=UNUSED,COMP6=UNUSED,COMP7=UNUSED,COMP8=UNUSED,COMP9=UNUSED,COMP10=UNUSED,COMP11=UNUSED,COMP12=UNUSED,COMP13=UNUSED,COMP14=UNUSED,COMP15=UNUSED */
    0x00000000, /* PAD */
    0x08010e0e, /* LOAD_STATE (1) Base: 0x03838 Size: 1 Fixp: 0 */
    0x00000000, /*   [03838] GL.UNK03838 := 0x0 */
    0x08010407, /* LOAD_STATE (1) Base: 0x0101C Size: 1 Fixp: 0 */
    0x01020100, /*   [0101C] PS.RANGE := LOW=0x100,HIGH=0x102 */
    0x08010406, /* LOAD_STATE (1) Base: 0x01018 Size: 1 Fixp: 0 */
    0x00000000, /*   [01018] PS.START_PC := 0x0 */
    0x08010400, /* LOAD_STATE (1) Base: 0x01000 Size: 1 Fixp: 0 */
    0x00000003, /*   [01000] PS.END_PC := 0x3 */
    0x08011c00, /* LOAD_STATE (1) Base: 0x07000 Size: 1 Fixp: 0 */
    0x40400000, /*   [07000] PS.UNIFORMS[0] := 3.000000 (u0.x) */
    0x080c3400, /* LOAD_STATE (1) Base: 0x0D000 Size: 12 Fixp: 0 */
    0x07811003, /*   [0D000] SH.UNK0C000[1024] := 0x7811003 */
    0x00000800, /*   [0D004] SH.UNK0C000[1025] := 0x800 */
    0x01c800d0, /*   [0D008] SH.UNK0C000[1026] := 0x1c800d0 */
    0x00000000, /*   [0D00C] SH.UNK0C000[1027] := 0x0 */
    0x07821018, /*   [0D010] SH.UNK0C000[1028] := 0x7821018 */
    0x15002f20, /*   [0D014] SH.UNK0C000[1029] := 0x15002f20 */
    0x00000000, /*   [0D018] SH.UNK0C000[1030] := 0x0 */
    0x00000000, /*   [0D01C] SH.UNK0C000[1031] := 0x0 */
    0x07811003, /*   [0D020] SH.UNK0C000[1032] := 0x7811003 */
    0x39001800, /*   [0D024] SH.UNK0C000[1033] := 0x39001800 */
    0x01c80140, /*   [0D028] SH.UNK0C000[1034] := 0x1c80140 */
    0x00000000, /*   [0D02C] SH.UNK0C000[1035] := 0x0 */
    0x00000000, /* PAD */
    0x08030402, /* LOAD_STATE (1) Base: 0x01008 Size: 3 Fixp: 0 */
    0x00001f03, /*   [01008] PS.INPUT_COUNT := COUNT=3,UNK8=31 */
    0x00000003, /*   [0100C] PS.TEMP_REGISTER_CONTROL := NUM_TEMPS=3 */
    0x00000002, /*   [01010] PS.CONTROL := BYPASS=0,UNK1=1 */
    0x0801028c, /* LOAD_STATE (1) Base: 0x00A30 Size: 1 Fixp: 0 */
    0x00000200, /*   [00A30] PA.ATTRIBUTE_ELEMENT_COUNT := UNK0=0x0,COUNT=0x2 */
    0x08010e07, /* LOAD_STATE (1) Base: 0x0381C Size: 1 Fixp: 0 */
    0x00000008, /*   [0381C] GL.VARYING_TOTAL_COMPONENTS := NUM=0x8 */
    0x0801020c, /* LOAD_STATE (1) Base: 0x00830 Size: 1 Fixp: 0 */
    0x0f3f0542, /*   [00830] VS.LOAD_BALANCING := A=0x42,B=0x5,C=0x3f,D=0xf */
    0x08010201, /* LOAD_STATE (1) Base: 0x00804 Size: 1 Fixp: 0 */
    0x00000003, /*   [00804] VS.OUTPUT_COUNT := 3 */
    0x08010e02, /* LOAD_STATE (1) Base: 0x03808 Size: 1 Fixp: 0 */
    0x00000705, /*   [03808] GL.SEMAPHORE_TOKEN := FROM=RA,TO=PE */
    0x08010f00, /* LOAD_STATE (1) Base: 0x03C00 Size: 1 Fixp: 0 */
    0x00000705, /*   [03C00] GL.STALL_TOKEN := FROM=RA,TO=PE,FLIP0=0,FLIP1=0 */
    0x28000000, /* DRAW_PRIMITIVES (5) */
    0x00000004, /*  */
    0x00000000, /*  */
    0x00000fd4, /*  0xfd4 = 4052 = triangle count*/
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003  /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
};
#if 0
Grouped GPU addresses {
    cmdbuf[0x1d] = cmdbuf[0x1f] = ADDR_A; /* 0x7f2c8700 */
}
#endif

uint32_t cmdbuf5[] = { /* seq 105 */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010581, /* LOAD_STATE (1) Base: 0x01604 Size: 1 Fixp: 0 */
    0x00004686, /*   [01604] RS.CONFIG := SOURCE_FORMAT=A8R8G8B8,DOWNSAMPLE_X=0,DOWNSAMPLE_Y=0,SOURCE_TILED=1,DEST_FORMAT=A8R8G8B8,DEST_TILED=1,SWAP_RB=0,FLIP=0 */
    0x08010583, /* LOAD_STATE (1) Base: 0x0160C Size: 1 Fixp: 0 */
    0x80003400, /*   [0160C] RS.SOURCE_STRIDE := STRIDE=0x3400,MULTI=0,TILING=1 */
    0x08010585, /* LOAD_STATE (1) Base: 0x01614 Size: 1 Fixp: 0 */
    0x80003400, /*   [01614] RS.DEST_STRIDE := STRIDE=0x3400,MULTI=0,TILING=1 */
    0x0802058c, /* LOAD_STATE (1) Base: 0x01630 Size: 2 Fixp: 0 */
    0xffffffff, /*   [01630] RS.DITHER[0] := 0xffffffff */
    0xffffffff, /*   [01634] RS.DITHER[1] := 0xffffffff */
    0x00000000, /* PAD */
    0x0801058f, /* LOAD_STATE (1) Base: 0x0163C Size: 1 Fixp: 0 */
    0x00000000, /*   [0163C] RS.CLEAR_CONTROL := BITS=0x0,MODE=DISABLED */
    0x080105a8, /* LOAD_STATE (1) Base: 0x016A0 Size: 1 Fixp: 0 */
    0x00000000, /*   [016A0] RS.EXTRA_CONFIG := AA=0x0,ENDIAN=NO_SWAP */
    0x08010582, /* LOAD_STATE (1) Base: 0x01608 Size: 1 Fixp: 0 */
    0x15900000, /*   [01608] RS.SOURCE_ADDR := ADDR_G */
    0x08010584, /* LOAD_STATE (1) Base: 0x01610 Size: 1 Fixp: 0 */
    0x15900000, /*   [01610] RS.DEST_ADDR := ADDR_G */
    0x08010588, /* LOAD_STATE (1) Base: 0x01620 Size: 1 Fixp: 0 */
    0x02000340, /*   [01620] RS.WINDOW_SIZE := HEIGHT=512,WIDTH=832 */
    0x08010580, /* LOAD_STATE (1) Base: 0x01600 Size: 1 Fixp: 0 */
    0xbadabeeb  /*   [01600] RS.KICKER := 0xbadabeeb */
};
#if 0
Grouped GPU addresses {
    cmdbuf[0x9] = ADDR_G; /* 0x7a002a00 */
    cmdbuf[0xb] = cmdbuf[0x11] = cmdbuf[0x15] = ADDR_F; /* 0x7f284000 */
    cmdbuf[0x21] = ADDR_A; /* 0x7f2c8700 */
    cmdbuf[0x1f] = ADDR_B; /* 0x7a005900 */
}
#endif

uint32_t cmdbuf6[] = {
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x00000000, /* PAD */
    0x08010594, /* LOAD_STATE (1) Base: 0x01650 Size: 1 Fixp: 0 */
    0x00000001, /*   [01650] RS.FLUSH_CACHE := FLUSH=1 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000002, /*   [0380C] GL.FLUSH_CACHE := DEPTH=0,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x0801ffff, /* LOAD_STATE (1) Base: 0x3FFFC Size: 1 Fixp: 0 */
    0x00000000, /*   [3FFFC] DUMMY.DUMMY := 0x0 */
    0x08010595, /* LOAD_STATE (1) Base: 0x01654 Size: 1 Fixp: 0 */
    0x00000049, /*   [01654] TS.MEM_CONFIG := DEPTH_FAST_CLEAR=1,COLOR_FAST_CLEAR=0,DEPTH_16BPP=1,DEPTH_AUTO_DISABLE=0,COLOR_AUTO_DISABLE=0,DEPTH_COMPRESSION=1,MSAA=0,MSAA_FORMAT=A4R4G4B4,HDEPTH=0x0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   [0380C] GL.FLUSH_CACHE := DEPTH=1,COLOR=1,TEXTURE=0,PE2D=0,TEXTUREVS=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010581, /* LOAD_STATE (1) Base: 0x01604 Size: 1 Fixp: 0 */
    0x20000686, /*   [01604] RS.CONFIG := SOURCE_FORMAT=A8R8G8B8,DOWNSAMPLE_X=0,DOWNSAMPLE_Y=0,SOURCE_TILED=1,DEST_FORMAT=A8R8G8B8,DEST_TILED=0,SWAP_RB=1,FLIP=0 */
    0x08010583, /* LOAD_STATE (1) Base: 0x0160C Size: 1 Fixp: 0 */
    0x80003400, /*   [0160C] RS.SOURCE_STRIDE := STRIDE=0x3400,MULTI=0,TILING=1 */
    0x08010585, /* LOAD_STATE (1) Base: 0x01614 Size: 1 Fixp: 0 */
    0x00000d00, /*   [01614] RS.DEST_STRIDE := STRIDE=0xd00,MULTI=0,TILING=0 */
    0x0802058c, /* LOAD_STATE (1) Base: 0x01630 Size: 2 Fixp: 0 */
    0xffffffff, /*   [01630] RS.DITHER[0] := 0xffffffff */
    0xffffffff, /*   [01634] RS.DITHER[1] := 0xffffffff */
    0x00000000, /* PAD */
    0x0801058f, /* LOAD_STATE (1) Base: 0x0163C Size: 1 Fixp: 0 */
    0x00000000, /*   [0163C] RS.CLEAR_CONTROL := BITS=0x0,MODE=DISABLED */
    0x080105a8, /* LOAD_STATE (1) Base: 0x016A0 Size: 1 Fixp: 0 */
    0x00000000, /*   [016A0] RS.EXTRA_CONFIG := AA=0x0,ENDIAN=NO_SWAP */
    0x08010582, /* LOAD_STATE (1) Base: 0x01608 Size: 1 Fixp: 0 */
    0x15900000, /*   [01608] RS.SOURCE_ADDR := ADDR_G */
    0x08010584, /* LOAD_STATE (1) Base: 0x01610 Size: 1 Fixp: 0 */
    0x15e4d000, /*   [01610] RS.DEST_ADDR := ADDR_Y */
    0x08010588, /* LOAD_STATE (1) Base: 0x01620 Size: 1 Fixp: 0 */
    0x02000340, /*   [01620] RS.WINDOW_SIZE := HEIGHT=512,WIDTH=832 */
    0x08010580, /* LOAD_STATE (1) Base: 0x01600 Size: 1 Fixp: 0 */
    0xbadabeeb  /*   [01600] RS.KICKER := 0xbadabeeb */
};

uint32_t cmdbuf7[] = { /* seq 115 */
    0x08010581, /* PAD */
    0x00000585, /* PAD */
    0x08010583, /* PAD */
    0x80001c00, /* PAD */
    0x08010585, /* PAD */
    0x00000640, /* PAD */
    0x0801058c, /* PAD */
    0xffffffff, /* PAD */
    0x08010e03, /* LOAD_STATE (1) Base: 0x0380C Size: 1 Fixp: 0 */
    0x00000003, /*   GLOBAL.FLUSH_CACHE := DEPTH=1,COLOR=1,3D_TEXTURE=0,2D=0,UNK4=0,SHADER_L1=0,SHADER_L2=0 */
    0x08010581, /* LOAD_STATE (1) Base: 0x01604 Size: 1 Fixp: 0 */
    0x20000505, /*   RS.CONFIG := SOURCE_FORMAT=X8R8G8B8,UNK7=1,DEST_FORMAT=X8R8G8B8,UNK14=0,SWAP_RB=0,FLIP=0 */
    0x08010583, /* LOAD_STATE (1) Base: 0x0160C Size: 1 Fixp: 0 */
    0x00000d00, /*   RS.SOURCE_STRIDE := STRIDE=0xd00,TILING=0 */
    0x08010585, /* LOAD_STATE (1) Base: 0x01614 Size: 1 Fixp: 0 */
    0x00000c80, /*   RS.DEST_STRIDE := STRIDE=0xc80,TILING=0 */
    0x0801058c, /* LOAD_STATE (1) Base: 0x01630 Size: 1 Fixp: 0 */
    0xffffffff, /*   RS.DITHER[0] := 0xffffffff */
    0x0801058d, /* LOAD_STATE (1) Base: 0x01634 Size: 1 Fixp: 0 */
    0xffffffff, /*   RS.DITHER[1] := 0xffffffff */
    0x0801058f, /* LOAD_STATE (1) Base: 0x0163C Size: 1 Fixp: 0 */
    0x00000000, /*   RS.CLEAR_CONTROL := BITS=0x0,MODE=0x0 */
    0x080105a8, /* LOAD_STATE (1) Base: 0x016A0 Size: 1 Fixp: 0 */
    0x00000000, /*   RS.EXTRA_CONFIG := AA=0x0,ENDIAN=NO_SWAP */
    0x08010582, /* LOAD_STATE (1) Base: 0x01608 Size: 1 Fixp: 0 */
    0x7f2c8700, /*   RS.SOURCE_ADDR := ADDR_A */
    0x08010584, /* LOAD_STATE (1) Base: 0x01610 Size: 1 Fixp: 0 */
    0x7fc20000, /*   RS.DEST_ADDR := ADDR_J */
    0x08010588, /* LOAD_STATE (1) Base: 0x01620 Size: 1 Fixp: 0 */
    0x01e00320, /*   RS.WINDOW_SIZE := HEIGHT=480,WIDTH=800 */
    0x08010580, /* LOAD_STATE (1) Base: 0x01600 Size: 1 Fixp: 0 */
    0xbeebbeeb  /*   RS.KICKER := 0xbeebbeeb */
};

#if 0
Grouped GPU addresses {
    cmdbuf[0x19] = ADDR_A; /* 0x7f2c8700 */
    cmdbuf[0x1b] = ADDR_J; /* 0x7fc20000 */
}
#endif

